<template>
  <div class="homeHeader">
    <div class="headerLeft">
      <div class="iconfont backIcon">&#xe671;</div>
    </div>
    <div class="headerInput">
      <span class="iconfont">&#xe64d;</span>
      输入城市/景点/游玩主题
    </div>
    <router-link to="/city">
    <div class="headerRight">
      城市
      <span class="iconfont downArrow">&#xe62b;</span>
    </div>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>
<style lang="scss" scoped>
@import "~styles/layout.scss";
.homeHeader{
  @include flex(row);
  justify-content: space-between;
  align-items: center;
  height: 86px;
  font-size:26px;
  background-color: $bgColor;
  color: #ffffff;
  .headerLeft{
    float: left;
    width: 80px;
    .backIcon{
      font-size: 28px;
      text-align: center;
    }
  }
  .headerInput{
    float: right;
    flex: 1;
    height: 60px;
    line-height: 60px;
    background-color: #ffffff;
    border-radius: 4px;
    color: #cccccc;
    padding-left: 20px;
    span{
      font-size: 24px;
    }
  }
  .headerRight{
    width: 128px;
    text-align: center;
    color: #ffffff;
    .downArrow{
      font-size: 22px;
    }
  }
}
</style>
